/**
 * @author 陈艺博
 * @date 2021-02-24 20:48
 * @description 队列测试类
 **/
public class QueueTest {
    public static void main(String[] args) {
        Queue<Integer> queue = new Queue<>();
        queue.enqueue(11);
        queue.enqueue(22);
        queue.enqueue(33);
        queue.enqueue(44);
        queue.enqueue(55);

        while (!queue.isEmpty()) {
            System.out.println(queue.deQueue());
        }
    }
}
